package com.gitee.swsk33.consumerdemo.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "provider-demo", path = "/api/provider/name", contextId = "consumer-client")
public interface NameClient {

	@GetMapping("/get")
	String getName();

}